package com.love.netty.core.packet.response;

import com.love.netty.core.packet.Packet;
import lombok.Data;

import static com.love.netty.core.interfaces.Command.MESSAGE_RESPONSE;

/**
 * @ClassName: MessageResponsePacket
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-24 10:13
 **/
@Data
public class MessageResponsePacket extends Packet {

    private String message;

    private String fromUserId;

    private String fromUserName;

    @Override
    public Byte getCommand() {
        return MESSAGE_RESPONSE;
    }
}
